#include <stdio.h>

int Sum(int top)
{
  int i = 1;
  int ret = 0;
  for(; i <= top; i++)
  {
    ret += i;
  }
  return ret;
}

int main()
{
  int top = 100;
  int ret = Sum(top);

  printf("result: %d\n", ret);
  return 0;
}
